<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>我的</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<script src="../fonts/iconfont.js"></script>
		<link rel="stylesheet" href="../css/mui.min.css">
		<style>
			html,
			body {
				background-color: #efeff4;
			}
			
			.diy_header {
				width: 100%;
				background: white;
				padding-bottom: 10px;
				border-bottom: 1px solid #cccccc;
				height: 100px;
				position: relative;
				margin-bottom: 20px;
				position: fixed;
				top: 0;
			}
			
			.mui-content {
				margin-top: 100px;
			}
			
			.seach-user {
				width: 30%;
				text-align: center;
				color: #ffffff;
				display: block;
				background: #00af66;
				border-radius: 45px;
				line-height: 45px;
				height: 45px;
				margin-left: 64%;
				margin-top: 55px;
			}
			
			.seach-user2 {
				width: 30%;
				text-align: center;
				color: #ffffff;
				display: inline-block;
				background: #00af66;
				border-radius: 40px;
				line-height: 40px;
				height: 40px;
				margin-top: 80px;
				margin-left: 35%;
	
			}
			
				.seach-user3 {
				width: 45%;
				text-align: left;
				color: #999999;
				display: inline-block;
				margin-top: 25px;			
				font-size: 14px;
				margin-left:5%;
				float: left;

			}
			
			.line_model {
				height: 70px;
				border-bottom: 1px solid #d7d7d7;
			}
			
			.line_model .left {
				float: left;
				font-size: 20px;
				line-height: 70px;
				color: #999999;
				margin-left: 3%;
			}
			
			.line_model .right {
				float: right;
				line-height: 70px;
				margin-right: 3%;
			}
			
			.icon {
				/* 通过设置 font-size 来改变图标大小 */
				width: 2.5em;
				height: 2.5em;
				/* 图标和文字相邻时，垂直对齐 */
				vertical-align: -0.8em;
				/* 通过设置 color 来改变 SVG 的颜色/fill */
				fill: currentColor;
				/* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
             normalize.css 中也包含这行 */
				overflow: hidden;
				color: #999999;
			}
		</style>
	</head>

	<body>
		<div class="diy_header">

			<h3 style="margin: 0;padding: 0;position: absolute;bottom: 20px;padding-left: 3%;color: #333333;">个人中心</h3>
		</div>
		<div class="mui-content">
			<div class="line_model">
				<div class="left">个人/企业</div>
				<div class="right">
					<svg class="icon" aria-hidden="true">
						<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-qydata"></use>
					</svg>
				</div>

			</div>
			<div class="line_model">
				<div class="left">姓名</div>
				<div class="right">
					<svg class="icon" aria-hidden="true">
                        <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-renminggenghuan"></use>
                    </svg>
				</div>

			</div>
			<div class="line_model">
				<div class="left">我的预定信息</div>
				<div class="right">
					<svg class="icon" aria-hidden="true">
						<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-weibiaoti-"></use>
					</svg>
				</div>

			</div>
			<div class="line_model"> 
				<div class="left">设置</div>
				<div class="right">
					<svg class="icon" aria-hidden="true">
                        <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-shezhi1"></use>
                    </svg>
				</div>

			</div>
			
			<a href="javascript:void(0);" class="seach-user2" onclick="LogOut()">退出登录</a>
	
			
		</div>
		</style>
	</body>
	<script src="../js/resource/mui.js"></script>
	<script src="../js/resource/vue.js"></script>
	<script src="../js/resource/config.js"></script>
	<script>
		function LogOut(){
		if(!localStorage.localname || localStorage.localname.length <= 0 || !localStorage.localuserid || localStorage.localuserid.length <= 0 || !localStorage.localloginname || localStorage.localloginname.length <= 0){
				mui.toast('未登录')
			return
		}
				localStorage.removeItem('localuserid');
				localStorage.removeItem('localname');
				localStorage.removeItem('localloginname');
				mui.toast('退出登录成功')
		}
		mui.init({
			swipeBack: true //启用右滑关闭功能
		});
		
		function openAboutUs(){
			mui.openWindow('aboutUs.html')
		}
		/*	document.getElementById("about").addEventListener('tap',function () {
				//获得主页面的webview
				var main = plus.webview.currentWebview().parent();
				//触发主页面的gohome事件
				mui.fire(main,'gohome');
			});
			
				document.getElementById("out").addEventListener('tap',function () {
				//获得主页面的webview
				var main = plus.webview.currentWebview().parent();
				//触发主页面的gohome事件
				mui.fire(main,'out');
			});*/
	</script>

</html>